set more off 

use "E:\隨身硬碟備份\E\TRY\findev_2017\Fin_Co2_pol_2020\program\n82_4y_8417_renew.dta",clear
tsset id period

tabstat sc_right sc_da sc_pol, by(countryname)


tabstat ///
lnav_co2pc lnav_engpc lnav_techpc ///
lnav_devsz lnav_devac lnav_devef fin_dev ///
lnav_strsz lnav_strac lnav_stref fin_str ///
av_bon av_lern lnav_concn  ///
lnav_privb lnav_borhh lnav_borfm ///
sc_right sc_da sc_pol ///
lnav_gdp lnav_trad lnav_urb lnav_sec lnav_inds, ///
stat(mean median sd min max n)


pwcorr  lnav_co2pc lnav_engpc lnav_techpc ///
lnav_devsz lnav_devac lnav_devef fin_dev ///
lnav_strsz lnav_strac lnav_stref fin_str av_bon av_lern ///
lnav_concn lnav_privb lnav_borhh lnav_borfm ///
sc_right sc_da sc_pol ///
lnav_gdp lnav_trad lnav_urb lnav_sec lnav_inds, sig 

